package com.ziyun.erp.modules.purchase.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ziyun.erp.modules.purchase.entity.dto.StorePurchaseApplyDto;
import io.renren.common.utils.PageUtils;
import com.ziyun.erp.modules.purchase.entity.StorePurchaseApplyEntity;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 门店采购申请表
 *
 * @author guizhao
 * @email 
 * @date 2018-09-26 13:28:47
 */
public interface StorePurchaseApplyService extends IService<StorePurchaseApplyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R insertApply(StorePurchaseApplyDto storePurchaseApplyDto);

    void querylistPage(Page<StorePurchaseApplyEntity> page, Map<String,Object> params);

    R audit(StorePurchaseApplyDto storePurchaseApplyDto);

    R reject(StorePurchaseApplyDto storePurchaseApplyDto);


    PageUtils selectAll(Map<String,Object> params);

    Integer updateFinase(Integer applyId);

    Integer updateFinaseCheck(Integer applyId);

    Integer updateFinaseCheckOnePay(Integer applyId);

    Integer updateFinaseN(Integer applyId);

    R BatchAuditAll(Object obj[]);

    R BulkPaymentAll(Object obj[]);


}

